NAME := board_bk7231s

JTAG := jlink

$(NAME)_MBINS_TYPE := kernel
$(NAME)_VERSION    := 1.0.1
$(NAME)_SUMMARY    := configuration for board bk7231s
MODULE             := BK7231S
HOST_ARCH          := ARM968E-S
HOST_MCU_FAMILY    := mcu_bk7231s
SUPPORT_MBINS      := no

ifeq ($(AOS_2NDBOOT_SUPPORT), yes)
$(NAME)_SOURCES := board.c
$(NAME)_LIBSUFFIX := _2ndboot
else
$(NAME)_COMPONENTS += $(HOST_MCU_FAMILY) kernel_init network

$(NAME)_SOURCES := board.c
endif

GLOBAL_INCLUDES += .
#GLOBAL_DEFINES  += STDIO_UART=1
GLOBAL_DEFINES += CLI_CONFIG_SUPPORT_BOARD_CMD=1

CONFIG_SYSINFO_PRODUCT_MODEL := ALI_AOS_BK7231S
CONFIG_SYSINFO_DEVICE_NAME   := BK7231S

GLOBAL_CFLAGS += -DSYSINFO_PRODUCT_MODEL=\"$(CONFIG_SYSINFO_PRODUCT_MODEL)\"
GLOBAL_CFLAGS += -DSYSINFO_DEVICE_NAME=\"$(CONFIG_SYSINFO_DEVICE_NAME)\"

GLOBAL_LDS_INCLUDES += $($(NAME)_LOCATION)/bk7231sdevkitc.ld

#AOS_SDK_2NDBOOT_SUPPORT := yes
